<form id="pagerForm" method="post" action="">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
	<input type="hidden" name="keywords" value="{$keywords}" />
	<input type="hidden" name="sfield" value="{$sfield}" />
	<input type="hidden" name="platform" value="{$platform}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="" method="post">
		<input type="hidden" name="m" value="{$module_name}" />
		<input type="hidden" name="a" value="{$action_name}" />
	<div class="searchBar">
		<ul class="searchContent">
			<li style="width:210px;">
				<label style="width:60px;">关键字：</label>
				<input type="text" name="keywords" value="{$keywords}" style="width:120px;"/>
			</li>
			<li style="width:80px;">
			<select name="sfield" class="combox">
				<option value="all" {if $sfield=='all'}selected="selected"{/if}>请选择</option>
				<option value="id" {if $sfield=='id'}selected="selected"{/if}>编号</option>
				<option value="username" {if $sfield=='username'}selected="selected"{/if}>用户名</option>
				<option value="user_id" {if $sfield=='user_id'}selected="selected"{/if}>用户ID</option>
			</select>
			<input type="hidden" name="sfield_name" value="id,username,mobile" />
			</li>
			<div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
		</ul>
	</div>
	</form>
</div>

<div class="pageContent">
    <div id="w_list_print">
	<table class="list" layoutH="63">
            <thead>
                <tr>
				<th width="5%" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}>编号</th>
				<th width="10%" >用户</th>												
				<th width="10%" >店铺</th>	
				<th width="15%" orderField="name" {if $orderField=='name'}class="{$orderDirection}"{/if}>标签</th>	
				<th width="15%" >位置</th>	
				<th width="15%" orderField="type" {if $orderField=='type'}class="{$orderDirection}"{/if}>类别</th>
				<th width="15%" orderField="sequence" {if $orderField=='sequence'}class="{$orderDirection}"{/if}>排序</th>
			</tr>
            </thead>
            <tbody>
                <volist name="list" id="vo">
                <tr target="sid_dv" rel="{$vo['id']}">
					<td>{$vo['id']}</td>
					<td>{$vo['username']}</td>
					<td>{$vo['sname']}</td>
					<td>{$vo['name']}</td>
					<td>{$vo['layout']}</td>
					<td>{if $vo['type']==1}商品{else}文章{/if}</td>
					<td>{$vo['sequence']}</td>
				</tr>
                </volist>
            </tbody>
        </table>
    </div>

    <div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
				<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
				<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
				<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}" ></div>
	</div>

</div>